package com.tyk.bookstore.back.product.repository;

import com.tyk.bookstore.back.common.dal.mapper.IMapper;
import com.tyk.bookstore.back.product.model.dto.Collect4TaskDto;
import com.tyk.bookstore.back.product.model.entity.BookCollectDo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author tyk
 * @description 书籍收藏
 */
@Mapper
public interface BookCollectRepository extends IMapper<BookCollectDo> {
    /**
     * 获取各书籍收藏人数
     */
    List<Collect4TaskDto> selectCollectDtoList();
}
